home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 147
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin
/
docs
/
ippon
/
ver
/
014
/
ippon014.lzh
/
FuncEffect
/
explzako.c
Wrap
C/C++ Source or Header
|
2000-07-07
|
496b
|
30 lines
/* explzako.c ザコキャラ爆発パターン */
#include <xsp2lib.h>
#include "main.h"
#include "effect.h"
short EffectMoveExplZako (EFFECT *);
/* エフェクト出現時に呼ばれる */
short EffectAllocExplZako (EFFECT * p)
{
p->pt = obj_explall + 71;
p->info = 0x0100 | PRIORITY_ZAKO_EXPL;
p->func_effect_move = EffectMoveExplZako;
}
/* ザコキャラ爆発 */
static short EffectMoveExplZako (EFFECT * p)
{
if (p->pt++ >= obj_explall + 71 + 29 - 1)
return (-1);
else
xobj_set_st (p);
return (0);
}